package com.group.activity.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group.common.utils.PageUtils;
import com.group.common.utils.Query;

import com.group.activity.dao.SeckillSkuRelationshipDao;
import com.group.activity.entity.SeckillSkuRelationshipEntity;
import com.group.activity.service.SeckillSkuRelationshipService;


@Service("seckillSkuRelationshipService")
public class SeckillSkuRelationshipServiceImpl extends ServiceImpl<SeckillSkuRelationshipDao, SeckillSkuRelationshipEntity> implements SeckillSkuRelationshipService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SeckillSkuRelationshipEntity> page = this.page(
                new Query<SeckillSkuRelationshipEntity>().getPage(params),
                new QueryWrapper<SeckillSkuRelationshipEntity>()
        );

        return new PageUtils(page);
    }

}